package com.estore.action;

import com.estore.manager.ShopManager;
import com.estore.model.ShopModel;
import com.opensymphony.xwork2.ActionSupport;
import com.opensymphony.xwork2.ModelDriven;

public class ShopAction extends ActionSupport implements ModelDriven<ShopModel> {

	/**
	 * 
	 */
	private static final long serialVersionUID = -5711173603024575441L;
	ShopModel shopmodel = new ShopModel();
	ShopManager shopmanager;

	public String listAllShop() {
		return "success";
	}

	@Override
	public ShopModel getModel() {
		// TODO Auto-generated method stub
		return shopmodel;
	}

	public ShopModel getShopmodel() {
		return shopmodel;
	}

	public void setShopmodel(ShopModel shopmodel) {
		this.shopmodel = shopmodel;
	}

	public ShopManager getShopmanager() {
		return shopmanager;
	}

	public void setShopmanager(ShopManager shopmanager) {
		this.shopmanager = shopmanager;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

}
